﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AddManager.aspx.cs" Inherits="ImgForecast.admin.AddManager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        Firstname:
    <asp:TextBox ID="FirstnameTextBox" runat="server" />
    <br />
    Lastname:
    <asp:TextBox ID="LastnameTextBox" runat="server" /><br />
    Username:
    <asp:TextBox ID="UsernameTextBox" runat="server" />
    <br />
    Password:
    <input id="Password" type="password" />
    <br />
    OfficeID:
        <asp:DropDownList ID="Office" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="Name" DataValueField="OfficeID">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" 
            SelectCommand="SELECT [OfficeID], [Name] FROM [Offices]  ORDER BY [Name]">
        </asp:SqlDataSource>
    <br />
    DivisionID:
        <asp:DropDownList ID="Division" runat="server" 
            DataSourceID="SqlDataSource2" DataTextField="Name" DataValueField="DivisionID">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" 
            SelectCommand="SELECT [Name], [DivisionID] FROM [Divisions] ORDER BY [Name]">
        </asp:SqlDataSource>
        <br />
        Role:
        <asp:DropDownList ID="Role" runat="server">
            <asp:ListItem>Admin</asp:ListItem>
            <asp:ListItem Selected="True">Manager</asp:ListItem>
        </asp:DropDownList>
    <br />

    <asp:Button ID="Submit" runat="server" Text="Submit" OnClick="Submit_Click" />
    <br />
</asp:Content>
